<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			var data = {
    "data": [
        {
            "cavNo": "1",
            "num2": "2",
            "num3": "3",
            "num4": "4",
            "num5": "1"
        },
        {
            "cavNo": "1",
            "num2": "",
            "num3": "",
            "num4": "",
            "num5": "2"
        },
        {
            "cavNo": "1",
            "num2": "",
            "num3": "",
            "num4": "",
            "num5": "3"
        }
    ]
}
//			console.log(data.data[0].cavNo);
//			console.log(data.data.length);
//			console.log(data.data[0].length);
			for(i=0;i<data.data.length;i++){
				var a=[],b=0;
				if(i==0){
					for(var x in data.data[0]){
						a[b]=data.data[0][x];
//						console.log(data.data[0][x]);
						b++;
						
					}
					console.log(b);
					console.log(a[b-1]);
					var tr = document.createElement("tr");
					var td = document.createElement("td");
					
				}else{
					if(data.data[i].cavNo==data.data[i-1].cavNo){
						
					}
				}
				
			}
		</script>
	</head>
	<body>
	</body>
</html>
